//
//  MyPageControl.h
//  AmountBody
//
//  Created by smm on 2017/12/11.
//  Copyright © 2017年 RCMTM. All rights reserved.
//

#import <UIKit/UIKit.h>
@class MyPageControl;
@protocol MyPageControlDelegate <NSObject>

-(void)myPageControlClick:(MyPageControl*)pageControl index:(NSInteger)clickIndex;

@end

@interface MyPageControl : UIControl
/*
 分页数量
 */
@property(nonatomic) NSInteger numberOfPages;
/*
 当前点所在下标
 */
@property(nonatomic) NSInteger currentPage;
/*
 点的大小
 */
@property(nonatomic) NSInteger controlSize;
/*
 选中点比其他点大的倍数
 */
@property(nonatomic) int sizeTimes;

/*
 点的间距
 */
@property(nonatomic) NSInteger controlSpacing;
/*
 其他未选中点颜色
 */
@property(nonatomic,strong) UIColor *otherColor;
/*
 当前点颜色
 */
@property(nonatomic,strong) UIColor *currentColor;
/*
 当前点背景图片
 */
@property(nonatomic,strong) UIImage *currentBkImg;
@property(nonatomic,weak)id<MyPageControlDelegate> delegate;
@end
